﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Ecreate.Popedom.Dao.Hibernate
{
    public class GroupLevelDaoImpl
    {

        public IList<tGrouplevel> getAll()
        {
            NHibernate.ISession session = Utility.getSession();
            return session.CreateQuery(" from tGrouplevel where 1=1 ").List<tGrouplevel>();
        }
        public tGrouplevel getById(string Id)
        {
            NHibernate.ISession session = Utility.getSession();
            return session.Get<tGrouplevel>(Id);
        }


     
    }
}
